import { createApp } from 'vue'

// element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 路由
import router from './router'
// 引入自定义插件对象：注册整个项目全局组件
import globalComponent from '@/components/index'
import App from './App.vue'

const app = createApp(App)

app.use(ElementPlus)
app.use(router)
app.use(globalComponent)
app.mount('#app')
